package com.supermap.dubbo.api.product.entity;


import java.io.Serializable;
import java.util.Date;

/**
 * @Author:zhoujian
 * @Desciption: 专家经验性产品实体
 * @date:2019-07-03 11:21
 * @version:v1.0.0
 */
public class ExpertProduct implements Serializable{

    private Integer productId;//产品id
    private Integer expertId;//专家id
    private String title;//产品标题
    private String content;//产品内容
    private String areaCode;//区域code
    private String townCode;//乡镇编码
    private Integer productType;//产品类型
    private String cropsType;//作物大类
    private String cropsId;//作物小类
    private Integer cropsPubertyId;//作物生育期
    private Integer knowledge = 0;//是否入知识库 1:知识库产品 ， 0：非知识库产品
    private Integer status = 1;//是否有效 1:有效  0：无效
    private Date createTime;//时间

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getExpertId() {
        return expertId;
    }

    public void setExpertId(Integer expertId) {
        this.expertId = expertId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getTownCode() {
        return townCode;
    }

    public void setTownCode(String townCode) {
        this.townCode = townCode;
    }

    public Integer getProductType() {
        return productType;
    }

    public void setProductType(Integer productType) {
        this.productType = productType;
    }

    public String getCropsType() {
        return cropsType;
    }

    public void setCropsType(String cropsType) {
        this.cropsType = cropsType;
    }

    public String getCropsId() {
        return cropsId;
    }

    public void setCropsId(String cropsId) {
        this.cropsId = cropsId;
    }

    public Integer getCropsPubertyId() {
        return cropsPubertyId;
    }

    public void setCropsPubertyId(Integer cropsPubertyId) {
        this.cropsPubertyId = cropsPubertyId;
    }

    public Integer getKnowledge() {
        return knowledge;
    }

    public void setKnowledge(Integer knowledge) {
        this.knowledge = knowledge;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "ExpertProduct{" +
                "productId=" + productId +
                ", expertId=" + expertId +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", areaCode='" + areaCode + '\'' +
                ", townCode='" + townCode + '\'' +
                ", productType=" + productType +
                ", cropsType='" + cropsType + '\'' +
                ", cropsId='" + cropsId + '\'' +
                ", cropsPubertyId=" + cropsPubertyId +
                ", knowledge=" + knowledge +
                ", status=" + status +
                ", createTime=" + createTime +
                '}';
    }
}